﻿@inherits System.Web.Mvc.WebViewPage<Pikapika.Models.Novel>

@{
    ViewBag.Title = "Novel - Details - " + Model.Name;
    
}

    <fieldset>
        <legend>Fields</legend>
        
        <div class="display-label">Id</div>
        <div class="display-field">@Model.Id</div>
        
        <div class="display-label">Name</div>
        <div class="display-field">@Model.Name</div>
        
        <div class="display-label">Description</div>
        <div class="display-field">@Model.Description</div>
        
        <div class="display-label">PublisherId</div>
        <div class="display-field">@Model.PublisherId ( @Model.Publisher.Name )</div>
        
        <div class="display-label">Author</div>
        <div class="display-field">@Model.Author</div>
        
        <div class="display-label">ImageUrl</div>
        <div class="display-field">@Model.ImageUrl</div>
        
        <div class="display-label">RatingPoints</div>
        <div class="display-field">@Model.RatingPoints</div>
        
        <div class="display-label">RatingCount</div>
        <div class="display-field">@Model.RatingCount</div>
        
        <div class="display-label">UpdatedDate</div>
        <div class="display-field">@String.Format("{0:g}", Model.UpdatedDate)</div>
        
    </fieldset>

    <p>
        @Html.ActionLink("Edit", "Edit", new { id=Model.Id }) |
        @Html.ActionLink("Back to List", "Index", new { publisherId = Model.Publisher.Id }) 
    </p>
